//@ts-nocheck
import { createSlice } from "@reduxjs/toolkit";
let musicSlice = createSlice({
  name: "music",
  initialState: {
    url: "",
  },
  reducers: {
   seturl(state,{payload}){
    state.url=payload;
    console.log(state.url);
    
   }
  },
});
export default musicSlice.reducer;
export let { seturl } = musicSlice.actions;
